home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / doc / NEWS < prev    next >
Encoding:
Text File  |  1998-04-18  |  33.5 KB  |  859 lines

  1. ============
  2. VERSION 47.3
  3. ============
  4.  
  5. Fixed a bug in getUserPasswd where certain strings weren't properly
  6. 0-terminated.
  7.  
  8. Fixed a bug in setpriority and getpriority: these functions always failed
  9. due to an wrong test.
  10.  
  11. Fixed a bug in ctype.h: all macros (e.g. isspace and friends) failed to
  12. work properly with character code >= 128. Now cast everything to unsigned
  13. char first.
  14.  
  15. Applied patch from David Zaroski to uname.c. Improved OS version number
  16. reporting.
  17.  
  18. ============
  19. VERSION 47.2
  20. ============
  21.  
  22. Fixed a bug in handling of "/". Thanks to Norbert Pueschel for providing me
  23. with a fix.
  24.  
  25. Updated ixprefs from Kriton Kyrimis.
  26.  
  27. Fixed problems with vfork() and sockets when the program was started from
  28. inetd.
  29.  
  30. ============
  31. VERSION 47.1
  32. ============
  33.  
  34. Fixed ixtrace bug that made it impossible to set the stacksize.
  35.  
  36. Fixed bug in crt0.c which caused a crash under p.OS.
  37.  
  38. ============
  39. VERSION 47.0
  40. ============
  41.  
  42. It was possible to kill a process with a SIGKILL signal when that process
  43. was already in the exit() function: this can cause major crashes.
  44.  
  45. Fixed more bugs in wait4(): the list of child processes could contain
  46. processes whose 'getuser()' pointer was NULL, causing enforcer hits and
  47. general mayhem.
  48.  
  49. Signalling processes that were asleep waiting for some event would not wake
  50. these processes.
  51.  
  52. Fixed a bug in wait4: if there are no longer any childs available that
  53. meet the criteria of wait4, then wait4 should exit. In previous versions
  54. this test was only done for the zombie processes, and not for all other
  55. childs.
  56.  
  57. Updated timezone sources and databases.
  58.  
  59. Kriton Kyrimis supplied patches to port ixprefs to p.OS.
  60.  
  61. David Zaroski supplied patches to upgrade ixtrace to this ixemul version.
  62.  
  63. vfork() will now copy any open sockets to the child, previously the
  64. sockets inherited by the child from the parent were always invalid.
  65.  
  66. Added Unix Sys V semaphore and message support (sem* and msg* functions).
  67.  
  68. Added low-level mutex (semaphore) functions: ix_mutex_lock(),
  69. ix_mutex_attempt_lock() and ix_mutex_unlock(). These functions are
  70. wrappers for the AmigaOS or p.OS kernel semaphore functions. See ix.h for
  71. more info.
  72.  
  73. Fixed several nasty bugs in the shm support code.
  74.  
  75. Added a new checkbox to ixprefs: Enable MuFS support. By default the
  76. support for the Multi-user File System is turned off. One reason for adding
  77. this checkbox is that apparently the MuFS support isn't bug-free.
  78.  
  79. ade -> gg
  80.  
  81. Added workaround for AFS bug with symlink("", "").
  82.  
  83. The resolv.conf keyword scan is now case-insensitive: the AmiTCP
  84. resolv.conf file is uppercase, while NetBSD assumes lowercase.
  85.  
  86. Applied patches from Norbert Pueschel fixing argv[0] when starting a
  87. script: it was the name of the scripts, now it is the name of the
  88. interpreter. This conforms to NetBSD and fixes problems with dld.
  89.  
  90. ttyname() in libc.a now always returns "/dev/tty" if the device is a tty
  91. and NULL otherwise.
  92.  
  93. "#!shell arg" handling has been changed to be consistent with NetBSD: all
  94. arguments after the shell name are now passed as the first argument to the
  95. shell.
  96.  
  97. munmap() now calls msync().
  98.  
  99. Ixemul now fully supports pOS.
  100.  
  101. chown() will succeed if the device doesn't support this action instead of
  102. reporting an error.
  103.  
  104. The -enforcer flag of gdb now also supports the 68060.
  105.  
  106. Improved getppid and added hstrerror thanks to Norbert Pueschel.
  107.  
  108. Added ix_obtain_socket and ix_release_socket thanks to Jeff Shepherd.
  109. Added __flush_cache for gcc trampoline handling.
  110. Added ix_flush_insn_cache, ix_flush_caches and ix_flush_data_cache for OS
  111. independent cache flushing.
  112. Added ix_get_first_segment and ix_get_next_segment.
  113. Added ix_select.
  114. Added isascii, isiso, toascii and toiso.
  115. Added ix_get_long, ix_set_long.
  116.  
  117. Removed aselect.
  118. Removed CreatePort, CreateExtIO, CreateStdIO, CreateTask.
  119. Removed DeletePort, DeleteExtIO, DeleteStdIO, DeleteTask.
  120. Removed ix_get_vars.
  121. Removed _wb_parse, _cli_parse and _main.
  122.  
  123. Renamed achmod to ix_chmod.
  124. Renamed ix_get_vars2 to ix_get_vars.
  125. Renamed vfork2 to ix_vfork.
  126. Renamed vfork_resume to ix_vfork_resume.
  127. Renamed __amiga_filehandle to ix_filehandle.
  128. Renamed tracecntl to ix_tracecntl.
  129. Renamed ix_amiga.h to ix.h.
  130.  
  131. ============
  132. VERSION 46.1
  133. ============
  134.  
  135. Renamed __os to ix_os as a preparation for ixemul-47.0. Also renamed
  136. expand_cmd_line to ix_expand_cmd_line and default_wb_window to
  137. ix_default_wb_window.
  138.  
  139. ============
  140. VERSION 46.0
  141. ============
  142.  
  143. Copied basic pOS support from ixemul-47.0 especially for GeekGadgets 2. The
  144. ixemul.library does *not* support pOS, you have to use ixemul-47.0 for
  145. that, but all programs compiled with the new libc.a and *crt0.o will also
  146. run on pOS using ixemul-47.0. Unless Amiga kernel functions are used, of
  147. course. See README.pOS for more information.
  148.  
  149. Added ipcs and ipcrm to manage the shm functionality.
  150.  
  151. Upgraded db to version 1.85.
  152.  
  153. Added an ixprefs option to show the stack usage of all the programs that
  154. use ixemul.library.
  155.  
  156. chmod() now also checks if someone else has the same file open, and makes
  157. sure that when that file is closed the same mode flags are written instead
  158. of the flags specified when the file was opened.
  159.  
  160. Added shared memory support (shmget, shmat, shmdt and shmctl) and the ftok
  161. function.
  162.  
  163. Fixed a bug in memccpy (the wrong pointer was returned).
  164.  
  165. Added a patch from Marc Espie to correctly setup the program name and
  166. directory in the CLI structure so that GetProgramName and GetProgramDir do
  167. the right thing.
  168.  
  169. ============
  170. VERSION 45.1
  171. ============
  172.  
  173. Fixed a bug in the Unix Domain socket code that would occasionally cause a
  174. client to wait indefinately for a connection to be granted, while in fact
  175. the server had already accepted the connection.
  176.  
  177. getdtablesize() now returns FD_SETSIZE instead of NOFILE (256 instead of
  178. 512). The result of this function was used by several X clients to discover
  179. the number of filehandles select() can test. And if that value is too large,
  180. you'll get unexpected and hard to find crashes. The same change was made to
  181. sysconf(_SC_OPEN_MAX).
  182.  
  183. shutdown() could close down the whole Unix domain socket, causing a
  184. crash when the socket was closed a second time by the 'real' close.
  185.  
  186. rename() now tests for a rename across devices and returns the correct
  187. error code.
  188.  
  189. Applied patch from Norbert Pueschel to improve delayed unlink.
  190.  
  191. Closing of Unix domain sockets is now atomic (between Forbid/Permit),
  192. otherwise the Amiga could crash if the X server was running at a higher
  193. priority than the client.
  194.  
  195. Fixed a bug in ixemul.trace that caused Enforcer hits in gcc.
  196.  
  197. Fixed a bug with 'du -ks /volume'. The convert_dir() function stored the
  198. directory name in Amiga format instead of Unix format.
  199.  
  200. Norbert Pueschel greatly improved uid/gid handling in ixemul.library. See
  201. the README for detailed information.
  202.  
  203. Fixed a bug in handling volumes/devices named "dev:". Ixemul handles the
  204. volume /dev specially (e.g., /dev/console is translated to console:) and
  205. that interfered with the handling of the DEV:  device or any volume named
  206. DEV:.  To circumvent the /dev handling you can now use "dev:" instead of
  207. "/dev" or write "DEV" instead of "dev" (in other words, the open() function
  208. tests for the string "/dev/" in a case-sensitive way).
  209.  
  210. Due to a clumsy design of the ENV: notification a signal was occasionally
  211. left unfreed. WShell gives warnings for that, so I changed the design and
  212. that should take care of the warning. The unfreed signal warning was
  213. harmless, but annoying.
  214.  
  215. Now fill the file type in the dirent struct. Thanks to Lars Hecking for
  216. reporting this.
  217.  
  218. Some AmigaOS programs started from an ixemul program set Signals that were
  219. allocated by ixemul. This can happen because ixemul resets the allocated
  220. signal mask in the Task structure.  Because of that a handshake between the
  221. child and the parent when the child process is dying failed, and Enforcer
  222. hits (usually followed by a crash) were the result.  Fixed by resetting all
  223. Signals.
  224.  
  225. Fixed a bug in the trap.s supervisor() code: you cannot safely pass data on
  226. the stack to the function to be executed in supervisor mode. In fact, this
  227. failed with a beta version of the 68060.library from Phase 5. Now pass the
  228. data through registers.
  229.  
  230. Fixed bug in frexp(0.0, &i) where i was set to 1 instead of 0.
  231.  
  232. Fixed 32 Kb memory leak.
  233.  
  234. Added tty CRMOD support.
  235.  
  236. Fixed serious bug in unix domain sockets where a kind of deadlock situation
  237. could occur.
  238.  
  239. system() now searches the whole path for 'sh' and doesn't use /bin/sh only.
  240. Also the paths in paths.h have been adjusted for Geek Gadgets.  Thanks to
  241. Robert Davis for pointing out the system() problem.
  242.  
  243. select() on a small file that was stored in memory if the user selected a
  244. non-zero Membuf size in ixprefs didn't produce the expected results. Thanks
  245. to Stefan Grosse Pawig for reporting this.
  246.  
  247. ============
  248. VERSION 45.0
  249. ============
  250.  
  251. Moved popen() and pclose() into ixemul.library from libc.a. These functions
  252. are used regularly by libraries, and having them in ixemul.library makes
  253. the conversion of those static libraries into shared libraries easier.
  254. Besides, these functions are used frequently enough to warrant their
  255. integration into ixemul.library.
  256.  
  257. Added a patch from Kamil Iskra that fixes problems with -mstackextend and
  258. vfork2(). However, such programs *must* call vfork_setup_child().
  259.  
  260. Thanks to Lars Hecking, a new fnmatch(3) with extended functionality is
  261. available. The fnmatch code is copied from the NetBSD sources.
  262.  
  263. Added new manual pages.
  264.  
  265. Upgraded ixemul to the new structure passing scheme of gcc (A1 contains a
  266. pointer to the return structure). This involved ldiv(), div() and
  267. inet_makeaddr(). Thanks to Kamil Iskra for providing me with patches to
  268. implement this.
  269.  
  270. Upgraded the timezone stuff to the latest version.
  271.  
  272. Implemented Unix Domain sockets. Missing features: datagrams aren't
  273. (yet?) supported, and connect() doesn't have a timeout.
  274.  
  275. Removed stack watcher code. It was seldom used, and it was never very
  276. reliable.
  277.  
  278. Implemented sessions. This improves Ctrl-C handling, and is required to
  279. make full use of xterm.
  280.  
  281. Fixed an unlink bug (it has to check all open files for the given filename)
  282. and a bug in ix_lock_base/ix_unlock_base: if these calls were nested, the
  283. signal masked was restored to ~0 instead of the original value.
  284.  
  285. Added a new utility, ixstack, and a new global variable, __stack, to allow
  286. the user and programmer to specify a minimum stacksize. If the current
  287. stack is too small, a new stack is automatically allocated. Thanks to Kamil
  288. Iskra for implementing this.
  289.  
  290. ioctl(fd, TIOCGPGRP, ...) now returns something useful. NcFtp didn't show
  291. the progress bar anymore because of this.
  292.  
  293. Added large-baserel libraries and startup-code.
  294.  
  295. ============
  296. VERSION 44.0
  297. ============
  298.  
  299. Kriton Kyrimis updated ixprefs.
  300.  
  301. David Zaroski updated ixtrace.
  302.  
  303. Fixed link count for directories. Thanks to Norbert Pueschel.
  304.  
  305. umask implemented for for open() and mkdir(). Thanks to Norbert Pueschel.
  306.  
  307. Added muFIBB_SET_GID, which will be implemented in the next version
  308. of MultiUser. The old way of handling setgid was confusing and even
  309. potentially dangerous.  Thanks to Norbert Pueschel.
  310.  
  311. Added the translation unix sticky bit -> AmigaOS h bit. This one is
  312. more for aestaethical reasons, as the h bit is no longer supported in 3.x.
  313. Thanks to Norbert Pueschel.
  314.  
  315. Added a field 'void *u_user;' near the beginning of the user struct which
  316. everybody is free to (ab)use. It can be handy to store task private data
  317. in the user struct, at least, I had to use it recently.
  318.  
  319. Added an ix_amiga.h header, which will contain all amiga specific functions
  320. and macros in ixemul.library and libc.a, together with a description.
  321.  
  322. Profiling has been enhanced. Ixprefs adds a new profiling preference:
  323. either take samples only while your program is running and the PC is within
  324. your program, or take samples while your program is running and if the PC
  325. is outside your program code (e.g. in ixemul or in intuition.library), use
  326. the last function your program entered before calling ixemul or whatever,
  327. or always take samples, even if other programs are running.  Again, the
  328. last recorded function gets the hit in those cases.
  329.  
  330. An array of 100 longs to store the A4 register of shared libraries has been
  331. added to the user struct. This array can be easily increased in future
  332. releases, should the need arise. The first 20 slots are for your own free
  333. use, the other slots should be registered. See the file REGISTRY in the
  334. ixemul source distribution for more details.
  335.  
  336. Fixed yet another path bug. Running a shell script that's placed somewhere
  337. in your PATH from 'make' failed, unless the filename of the script was
  338. absolute.
  339.  
  340. Added vfork_setup_child to libc.a. This is a wrapper intended to make life
  341. just a little bit easier for those who need to use the vfork2()/vfork_resume()
  342. trick. It replaces the old 'ix_resident()/ix_get_vars2()' pair.
  343.  
  344. Fixed more problems with the routines that start a shell script. This time
  345. problems with symbolic links have been fixed.
  346.  
  347. Fixed problems when parsing a pathname of a shell script, preventing the
  348. execution of that script.
  349.  
  350. Replaced the stdio-sources by the NetBSD 44.0 versions, which incidentally
  351. fixed the broken fgetpos function. This change also adds printf() and scanf()
  352. support for the 'long long' datatype.
  353.  
  354. Added support for the O_CASE open() flag: this will open an existing file
  355. only if the filenames match using a case-sensitive comparison.
  356.  
  357. fstat() didn't compensate the file time for the current timezone offset.
  358.  
  359. Ixemul now supports the 68010 CPU. Thanks to Pascal Eeftinck for pointing
  360. out that the 68010 uses a 68020-like stackframe.
  361.  
  362. Build the version.[ch] files in the build directory instead of in the
  363. source directory.
  364.  
  365. Fixed fchdir().
  366.  
  367. Changed the machine name as returned by uname() to "m68k". Thanks to Lars
  368. Hecking for this.
  369.  
  370. O_ASYNC I/O is now partially supported: select() will test for this
  371. situation.
  372.  
  373. /dev/tty is now translated to console:.
  374.  
  375. Implemented pseudo-terminals support using the FIFO device.
  376.  
  377. Many, mostly small, changes to become more NetBSD compatible. Where
  378. possible, I've replaced the old sources with the NetBSD 1.1 sources.
  379.  
  380. The select() function has been improved: it is now much faster and works
  381. much better.
  382.  
  383. Using F_SETFL with fcntl() failed if the file wasn't a regular file. It now
  384. also works for pipes and sockets.
  385.  
  386. Requesters that are from ixemul.library or ixnet.library now have the name
  387. of the library as their title, so that you can see that they are from the
  388. library, and not from the application. Thanks to Udo Schnurpfeil for
  389. suggesting this.
  390.  
  391. The tty database functions unfortunately slipped through and weren't
  392. included with 43.1. They are back in 44.0.
  393.  
  394. Implemented mmap() and friends. Of course, any mmap feature that actually
  395. requires a MMU will return an error. But if mmap() is used to load a file
  396. into memory, then it works fine.
  397.  
  398. ============
  399. VERSION 43.2
  400. ============
  401.  
  402. Applied patch from Kamil Iskra to improve ixemul stack extension
  403. handling.
  404.  
  405. ============
  406. VERSION 43.1
  407. ============
  408.  
  409. Ixemul no longer uses async writes. All I/O is now synchronous. This
  410. allowed me to remove several Disable()/Enable() pairs, and actually made
  411. ixemul faster. Apparently the overhead in handling async I/O was
  412. substantial.
  413.  
  414. Applied patches from Jeff Shepherd fixing various problems in the
  415. ixnet.library. Among them improved AS225 passwd handling.
  416.  
  417. Moved the resolver functions out of ixnet.library into libc.a. All programs
  418. that used these functions will have to be recompiled. Very few programs use
  419. these functions, and since they are really higher level functions and do
  420. not belong in a low level library like ixnet, I've moved them.
  421.  
  422. Also moved tty database functions (getttyent() and friends, ttyname() and
  423. ttyslot()) to libc.a, for much the same reason.
  424.  
  425. Added the NetBSD DB sources to libc.a and removed the hacked versions from
  426. ixnet.
  427.  
  428. Replaced various headers with the NetBSD versions. Important for certain
  429. socket-related ioctl defines that were incorrect in the old headers.
  430.  
  431. Added ptrace(GETA4, pid, 0, 0) to obtain the value of the a4 register if
  432. this executable was compiled with -fbaserel or -resident. Needed by gdb to
  433. find out where the data section is.
  434.  
  435. Added ptrace(GETEXENAME, pid, 0, 0) to obtain the name of the current
  436. executable. Useful in scripts that start with '#!/bin/sh' or something
  437. similar. 'argv[0]' as seen by sh is the name of the script, but if you want
  438. to get the pathname of 'sh' itself, you can use this ptrace call.
  439.  
  440. Added setlocale() and ctermid() to libc.a.
  441.  
  442. It is now possible to unlink() a file that is owned by another process
  443. (just like Unix). Gcc uses this to remove temporary files that are actually
  444. owned by cpp (or as). Of course, on the Amiga this is implemented as a
  445. delayed delete, i.e. a flag is set in the 'struct file' to tell ixemul to
  446. delete the file when it is closed by the owner process.
  447.  
  448. Added support for a root ('/') directory. This will only work for programs
  449. that use ixemul.library. So if you start pdksh, 'cd' to the root (cd /) and
  450. use the AmigaOS command 'list' to view this directory, then you won't get
  451. what you expect. If you use the Unix ls command however, then you will see
  452. all the volumes that you have as top level directories.
  453.  
  454. Removed an old hack in __wait_packet.c that interfered with Ctrl-F
  455. handling.
  456.  
  457. Fixed a bug in fnctl(), F_SETFL.
  458.  
  459. Added AFS, AFSFloppy and PFS support.  Many thanks to the AFS author,
  460. Michiel Pelt, who provided me with the necessary technical information, and
  461. to Kriton Kyrimis for giving some very useful suggestions.
  462.  
  463. Added MultiUserFileSystem support, contributed by Mike Krings. Thanks Mike!
  464.  
  465. Added new function ix_warning: similar to ix_panic, but allows the user to
  466. choose between "Continue" and "Abort". This to work around a case like:
  467.  
  468.     for (;;) crypt();
  469.  
  470. where one couldn't break out of the program because the requester kept
  471. popping up.
  472.  
  473. Fixed -mstackcheck support and fixed buggy baserel-stackextend support.
  474.  
  475. The call socket(AF_UNIX, SOCK_STREAM, 0) no longer crashes if ixnet.library
  476. is not installed.
  477.  
  478. Reorganized Makefiles. I've removed the option to compile each source
  479. separately, instead they are always catenated together. Also, 'make' no
  480. longer starts itself two more times in order to make the library. I've
  481. used GNU make wizardry to let 'make' figure out all the targets by itself.
  482.  
  483. Sigsetjmp and siglongjmp were broken. Fixed.
  484.  
  485. Replaced the old man pages with the new NetBSD manual pages in the original
  486. troff form.
  487.  
  488. Replaced the nice() stub in ix_stub with nice.c from NetBSD.
  489.  
  490. Removed a Delay(100) that was called just before a vfork()ed program finally
  491. terminated.
  492.  
  493. Made h_errno a global variable like errno.
  494.  
  495. At several places in the library the errno variable was reset to 0.
  496. However, the library should (almost) never set errno to 0. This caused
  497. problems with the 'ping' program, where recvfrom set errno to 4, but the
  498. library changed it back to 0 before 'ping' got to see it.
  499.  
  500. Now sets st_uid and st_gid from a 'stat' structure to the effective UID and
  501. GID. Some programs tested these fields and they failed when using
  502. networking support. These fields used to be 0.
  503.  
  504. Reread the global environment variables only when 1) a new program is
  505. started, and 2) the ENV: directory has been changed (i.e., a new setting
  506. was added to ENV:). ENV: used to be read every time a program was started,
  507. whether it was needed or not.
  508.  
  509. Given the shell script s.sh in /ram/t:
  510.  
  511.     #!/bin/sh
  512.     /bin/echo $0
  513.  
  514. 'sh /ram/t/s.sh' produced '/ram/t/s.sh', while typing '/ram/t/s.sh' from
  515. within the pdksh shell produced 'Ram:t/s.sh'. Fixed.
  516.  
  517. Removed a dubious CurrentDir() to a *file* instead of a directory.  While
  518. this is apparently supported for the standard AmigaOS filesystems, not all
  519. third-party filesystems supported this.
  520.  
  521. When you try to use a >68020 ixemul.library on a 68000 Amiga, you now get a
  522. decent message instead of a crash.
  523.  
  524. ============
  525. VERSION 43.0
  526. ============
  527.  
  528. Integrated Jeff Shepherd's networking code. If ixnet.library is installed,
  529. then ixemul.library will use the networking functions from the
  530. ixnet.library, instead of the default dummy implementation. Ixnet.library
  531. works with AS225 and with AmiTCP. It supports both clients and daemons.
  532. A program that uses networking functions is completely shielded from the
  533. AS225 and AmiTCP differences by ixnet.library. That library will take care
  534. of all the details for you. That means that there is no longer any need to
  535. provide two different binaries, one for AS225 and one for AmiTCP.
  536. Furthermore, it is relatively easy to add support for other network
  537. packages. Thanks, Jeff!
  538.  
  539. Added stackchecking and extension code, thanks to Matthias Fleischer.
  540.  
  541. Finalized GDB support.
  542.  
  543. ============
  544. VERSION 42.1
  545. ============
  546.  
  547. Fixed bugs when running non-ixemul programs from tools like pdksh or make.
  548. You could get Enforcer hits and the Ctrl-C support also crashed the Amiga.
  549.  
  550. Use the NetBSD code for the system() function instead of using the Amiga
  551. kernel function SystemTagList. This was the cause of several
  552. incompatibilities when porting Unix programs.
  553.  
  554. Improved termios support (added OPORT and ONLCR flags and the INLCR flag).
  555.  
  556. Fixed ptrace handling. Almost none of Leonard's code has survived, I used a
  557. completely different method.
  558.  
  559. Fixed a problem where the name of the current directory, as is visible
  560. by the shell, wasn't changed when a program terminated and ixemul reset the
  561. current directory to its original place.
  562.  
  563. Improved performance somewhat by no longer going through address 4 to get
  564. to the ExecBase structure. Instead, it's copied once to the SysBase
  565. variable, and thereafter only that variable is used. The Enforcer manual
  566. warned against accessing address 4 too often, and ixemul.library did that
  567. a lot.
  568.  
  569. Also improved performance by fixing a busy wait. At one point in the
  570. ixemul, the program cannot continue until a context switch has taken place.
  571. So ixemul waits until the dispatch count of ExecBase has changed,
  572. indicating that a context switch has taken place. By installing a small,
  573. high priority (9) task with body "for (;;) Wait(1 << 31);" and signalling
  574. that task whenever a context switch is needed, I was able to circumvent the
  575. busy wait loop. Because of the high priority of the Task, a context switch
  576. would take place immediately. The task itself goes back to sleep at once,
  577. so there is no time lost there.
  578.  
  579. ============
  580. VERSION 42.0
  581. ============
  582.  
  583. Installed patch in arith.c to work around bug in IEEEDPCmp.  If the first
  584. 32 bits of both doubles are equal, and both doubles are negative, then
  585. the result can no longer be trusted.  Discovered by Bart Van Assche.
  586.  
  587. Ixtrace has been updated to recognize all 42.0 syscalls, thanks to David
  588. Zaroski.
  589.  
  590. Ctrl-C handling worked with KingCON, but not with the standard AmigaOS
  591. CON-handler (since I use KingCON I never noticed this until it was pointed
  592. out to me by Fred Fish :-). This has now been fixed. See the comments in
  593. library/__read.c for more information.
  594.  
  595. Added the uname() function, written by Lars Hecking.
  596.  
  597. The termios code now properly recognizes the ICRNL input flag for '\r' to
  598. '\n' translation.
  599.  
  600. Fixed a bug in the fcntl() function (actually, in the fcntl.h and
  601. sys/fcntl.h headers).
  602.  
  603. Moved several static variables to user.h, so they are now process-specific.
  604.  
  605. Added profiling support. It was always there, but it was never actually
  606. used.
  607.  
  608. The write() function writes its buffer line-by-line instead of in one big
  609. chunk if the filehandle is the handle of an interactive stream (for
  610. example, a console window). This allows the user to interrupt the output by
  611. pressing a key and it also allows the use of Ctrl-C to break the program.
  612. In previous versions you were unable to stop the output if you forgot to
  613. redirect it to a file. E.g., 'cat /libs/ixemul.library' would essentially
  614. take over the computer.
  615.  
  616. Changed default stack size handling when a new process is launched. It is
  617. either the value of the environment variable IXSTACK, or it inherits the
  618. size from its parent, but if that size is less than 16384, it uses a stack
  619. of 16384 bytes instead.
  620.  
  621. Replaced ixconfig by ixprefs (written by Kriton Kyrimis).
  622.  
  623. Integrated the partial ptrace support from Leonard Norrgard.
  624.  
  625. Removed the gnulib, gnulib-68881 and gnulib-soft-float directories.
  626.  
  627. Compiled with -Wall and fixed (nearly) all warnings. Some warnings are
  628. inevitable and cannot be avoided. -Wall already caught one illegal memory
  629. access bug in __Close()!
  630.  
  631. Added functions to set and get ixemulbase-private information. This will
  632. break older ixconfig's but is much cleaner. Nearly all of the ixemulbase
  633. structure is now off-limits and liable to change without notice! You are
  634. warned! In fact, the structure has been changed already. The library will
  635. complain if a program called 'ixconfig' tries to use it to prevent the user
  636. from using an old ixconfig with the new library.
  637.  
  638. Removed several arithmetic functions dealing with 'long long' types. They
  639. didn't belong in the library, link with libgcc.a instead. Also removed some
  640. arithmetic functions that are never called because they are compiled
  641. directly in 68000 assembly. Don't know why they were ever added.
  642.  
  643. Fixed gen_glue.c so that it no longer generates glue for obsolete functions.
  644.  
  645. Removed ssystem(). ssystem() was the precursor of vfork/execve, and is no
  646. longer needed. NOTE: it is still used in gcc. But this fails spectacularly
  647. once you use Ctrl-C! Delete gcc and replace it by gccv, this one uses
  648. vfork/execve as it should and works perfectly.
  649.  
  650. ixemul.library now uses the new-style inlines.
  651.  
  652. qsort() is now re-entrant and no longer uses the horrible Semaphore hack.
  653.  
  654. Moved general/fts.c to the static library. These directory-tree traversal
  655. functions are rarely, if ever used, so they belong in libc.a and not in a
  656. shared library.
  657.  
  658. Reorganized the Makefiles. The makefiles now use several GNU make-only
  659. features to make them smaller and easier to maintain.  'make clean' and
  660. 'make clobber' now work correctly.  It is also no longer nessecary to add
  661. the -srcdir option to 'sh configure' in order to create valid Makefiles.
  662.  
  663. The top level Makefile contains the line 'export CATENATE = 1'. If this
  664. line is present, the compilation speed is greatly improved by catenating
  665. several small C-sources together into one bigger C-source, and then the
  666. bigger one is compiled. By commenting this line each separate source is 
  667. compiled. Note that besides improving compilation speed, the library also
  668. gets smaller as the compiler can now determine whether a call can be made
  669. relative or should remain absolute.
  670.  
  671. Fixed a symlink-bug (ln -s /ram/t created a symlink to /am/t, removing the
  672. first character of the volumename).
  673.  
  674. Moved ixtrace to the new utils directory, together with the small ixrun
  675. utility.  ixrun can be used to run Amiga batch files from /bin/sh (just put
  676. ';!ixrun' at the second line (!) of the batch file).  Also added manual
  677. page for ixrun.
  678.  
  679. Cleaned up the static directory:  removed xmalloc.c and alloca.c as they do
  680. not belong in the standard C library.  Also replaced the ctime.c source by
  681. the version from elsie.nci.nih.gov, which is the official version used by
  682. NetBSD and Linux, among others.  Finally, errlst.c and siglist.c now just
  683. include their counterparts in the general directory.
  684.  
  685. The version information is placed in the version.in file in the
  686. top-level directory. The version.c and version.h sources are created from
  687. this file.
  688.  
  689. The print_base_size.c and print_user.c sources have been replaced by
  690. create_header.c, which creates a header containing a few defines that are
  691. used by start.s and trap.s. These used to be hard-coded, but now they are
  692. generated, preventing future mistakes.
  693.  
  694. Added the raise function. For some reason, raise.c was never compiled into
  695. the library. It is now.
  696.  
  697. Removed ALL sources that were not needed for compilation.
  698.  
  699. Added timezone handling. The timezone databases from elsie.nci.nih.gov are
  700. used and installed in etc:zoneinfo. The new ixtimezone utility should be
  701. added to the startup-sequence. This utility determines the correct offset
  702. for Greenwich Mean Time. Read the manual page (Yes! Documentation at last!)
  703. for more information.
  704.  
  705. Merged the ixpipe-handler into the ixemul-distribution. It has been placed
  706. in the utils-directory.
  707.  
  708. Added hack to allow ixemul to run AmigaOS scripts without breaking them
  709. when run from the AmigaOS shell. The problem is that the ".KEY" string
  710. must be at the first line of the script, while ixemul also looks for "#!"
  711. and ";!" in the first line. If a file starts with ".KEY", ixemul will now
  712. skip the first line, before checking for "#!" and ";!".
  713.  
  714. ============
  715. VERSION 41.4
  716. ============
  717.  
  718. Integrated patches from Hans Verkuil that fix CTRL-C handling, fix another
  719. signal bug, fix problem with "rm -f", prepare for proper timezone handling,
  720. and remove '@' hack in argument parsing.
  721.  
  722. Applied patch from Kamil Iskra to avoid incompatibility between ixemul
  723. and the popular KingCON 1.3.  This is KingCON's fault because it makes
  724. invalid assumptions about the nature of reply port contained in "dp_Port"
  725. of packets sent to it.  Also applied patch (duplicated in Hans' patches)
  726. to crt0.c that fixes bug where the revision requester was not working
  727. properly if the current revision is 0.
  728.  
  729. Applied patch from Rask Lambertsen (duplicated in Hans' patches) that makes
  730. ixemul.library open "CONSOLE:" instead of "*".
  731.  
  732. Added implementation from Kriton Kyrimis for srand48, seed48, lcong48,
  733. lrand48, nrand48, mrand48, jrand48, drand48, and erand48.
  734.  
  735. Added "#include <sys/types.h>" to <dirent.h> to be more compatible
  736. with most current systems that do this inclusion for you.  This change
  737. should be backwards compatible with code that does the inclusion
  738. explicitly.  Suggested by Lars Hecking.
  739.  
  740. Changed prototype in <unistd.h> for getpgrp() to take a pid_t argument,
  741. which matches the implementation in library/getcrap.c.  Suggested by
  742. Lars Hecking.
  743.  
  744. Made change to <math-68881.h> in pow() so that if x<0 the code does
  745. log(-x) rather than log(x).  Suggested by Thomas Radtke and implemented
  746. by Lars Hecking.
  747.  
  748. Disable definitions of F_GETLK, F_SETLK, F_SETLKW, F_RDLCK, F_UNLCK, and
  749. F_WRLCK in <fcntl.h> since they are unimplemented and thus might have misled
  750. autoconfiguration schemes into thinking they were available.  Also fix
  751. ixtrace.c so it will still compile without these defined.  Suggested by
  752. Robert Ramiega.
  753.  
  754. Integrated patch from Joop van de Wege (duplicated in Hans' patches) for
  755. setting up fpu on 68060.
  756.  
  757. ============
  758. VERSION 41.3
  759. ============
  760.  
  761. Updated DBL_MIN and DBL_MAX in float.h to include one additional digit
  762. of precision.  Enclose negative constants in parens to avoid unexpected
  763. conversion to subtraction via cpp macros.
  764.  
  765. Applied patch from Hans Verkuil to fix serious bug in signal handling,
  766. to reset all signal handlers after an execve, except for those which are
  767. being ignored (SIG_IGN).
  768.  
  769. Applied patch from Joop van de Wege to trap.s to set 68881 rounding mode
  770. back to truncation instead of "round to nearest", as required by the
  771. ANSI C standard which specifies truncation.
  772.  
  773. Integrated ixtrace into source tree and arranged for it to be built and
  774. installed.
  775.  
  776. ============
  777. VERSION 41.2
  778. ============
  779.  
  780. Added "#include <sys/types.h>" to <sys/stat.h> to be more compatible
  781. with most current systems that do this inclusion for you.  This change
  782. should be backwards compatible with code that does the inclusion
  783. explicitly.
  784.  
  785. Changed version string to be style guide compliant.  Also arranged that
  786. version.o gets linked in, since it has the $VER: string and is otherwise
  787. unreferenced by any ixemul.library code.
  788.  
  789. Merged patches from Hans Verkuil to fix execve environment passing,
  790. always open the console for stderr if no other file handle is provided,
  791. move AmigaOS style filename matching into glob(), and fix a small problem
  792. with "open(NULL,...) that caused enforcer hits.
  793.  
  794. ============
  795. VERSION 41.1
  796. ============
  797.  
  798. A 68040 version of the library with soft floating point is now built,
  799. since there are apparently systems that use the versions of the 68040
  800. without FPUs.
  801.  
  802. Fixed crt0 files to use "jra _ENTRY" as first instruction rather than
  803. "jmp pc@(_ENTRY)" which was getting assembled by gas 2.5.2 as a 68020+
  804. instruction.  Note "jmp pc@(_ENTRY:W)" seems to generate the 68000
  805. instruction but a bad jump offset.  Added corresponding change to
  806. execve.c to recognize ixemul using executables with this change.
  807.  
  808. Fixed cpu.h, machdep.c, trap.s to avoid pc relative assembly instruction
  809. that was getting compiled as 68020+ instruction and causing crashes on
  810. 68000 machines.
  811.  
  812. Fixed numerous files that did "#include" of "DEFS.H" rather than "defs.h".
  813. This is an innocuous bug on the Amiga, which is case independent, but
  814. it kills cross compilations.
  815.  
  816. ============
  817. VERSION 41.0
  818. ============
  819.  
  820. No significant changes since the 40.6 beta release other than the
  821. mechanism (and macros) for building debug versions has been cleaned
  822. up and the version number has been bumped to 41.0.
  823.  
  824. Did include the cat'able man pages back in the source tree, but no
  825. work has been done yet to track down the sources for the man pages
  826. and arrange for them to be properly integrated into the tree and
  827. have the cat'able versions generated from those sources.
  828.  
  829. ============
  830. VERSION 40.6
  831. ============
  832.  
  833. Many bugs have been fixed since the 40.4 release, including a serious
  834. one that was causing memory corruption and many enforcer or mungwall
  835. hits.
  836.  
  837. Network support has been reintegrated into the library, however it is
  838. still mostly untested.  In particular, many functions are only
  839. available for static linking from the libnet.a library.  By the next
  840. release, it is expected that libnet.a will be incorporated in libc.a.
  841.  
  842. Work is underway to merge the best features from at least two
  843. different strains of the ixemul library.  Many more changes are
  844. expected by the 41.0 release.
  845.  
  846. An environment variable called "IXSTACK" is now used to control the
  847. stack size of programs started by system().  If the current stack is
  848. smaller than the value in IXSTACK, the stack is raised to the value
  849. specified in IXSTACK.  So IXSTACK is a minimum value.
  850.  
  851. Automatic stack checking, with a requestor if the stack overflows, is
  852. available for executables compiled with a version of gcc that supports
  853. the -mstackcheck option.  This also requires linking with new crt0 and
  854. libc.a.
  855.  
  856. Automatic stack extension as necessary is available for executables
  857. compiled with a version of gcc that supports the -mstackextend option.
  858. This also requires linking with new crt0 and libc.a.
  859.